package com.icesoft.system.auth.credential;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@Accessors(chain = true)
public class PwdCredential {

	private String traceId;

	@NotNull(message = "用户名不能为空")
	private String username;

	@NotNull(message = "密码不能为空")
	private String password;

	private String captcha;

	private boolean rememberMe;
}
